package com.hkpw.system.domain;

import com.hkpw.common.constant.HttpStatus;
import lombok.Data;

import java.io.Serializable;

/**
 * @Auther: Andy
 * @Date: 2022/9/29 14:18
 * @Description: HkResult
 * @Version 1.0.0
 */
@Data
public class HkResult<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 成功 */
    public static final int SUCCESS = HttpStatus.SUCCESS;

    /** 失败 */
    public static final int FAIL = HttpStatus.ERROR;

    private String code;

    private String msg;

    private T data;



}
